import request from '@/utils/request'


export function fetchList(params) {
  return request({
    url: '/product/order/list/productor/'+params.pageNum+'/'+params.pageSize,
    method: 'post',
    data: params.object
  })
}

export function complateOrder(val) {
  return request({
    url: '/product/order/'+val+'/complate',
    method: 'post'
  })
}

export function cancelOrder(val) {
  return request({
    url: '/product/order/'+val+'/cancel',
    method: 'post'
  })
}


